import request from '@/utils/request'

// 查询总充电量列表
export function listScreen_charge(query) {
  return request({
    url: '/screen_charge/screen_charge/list',
    method: 'get',
    params: query
  })
}

// 查询总充电量详细
export function getScreen_charge(id) {
  return request({
    url: '/screen_charge/screen_charge/' + id,
    method: 'get'
  })
}

// 新增总充电量
export function addScreen_charge(data) {
  return request({
    url: '/screen_charge/screen_charge',
    method: 'post',
    data: data
  })
}

// 修改总充电量
export function updateScreen_charge(data) {
  return request({
    url: '/screen_charge/screen_charge',
    method: 'put',
    data: data
  })
}

// 删除总充电量
export function delScreen_charge(id) {
  return request({
    url: '/screen_charge/screen_charge/' + id,
    method: 'delete'
  })
}
